package cn.com.nes.site.entity.vo.workOrder;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;

@TableName("is_spare_part")
public class IsSparePart {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 零件id
     */
    @TableId(value = "part_id")
    private String partId;

    /**
     * 零件类型id
     */
    @TableId(value= "part_type_id")
    private String partTypeId;

    /**
     * 零件编号
     */
    @TableId(value= "part_no")
    private String partNo;

    /**
     * 零件名称
     */
    @TableId(value= "part_name")
    private String partName;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 厂商id
     */
    @TableId(value= "manufacture_id")
    private String manufactureId;

    @TableId(value= "is_deleted")
    private Byte isDeleted;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取零件id
     *
     * @return part_id - 零件id
     */
    public String getPartId() {
        return partId;
    }

    /**
     * 设置零件id
     *
     * @param partId 零件id
     */
    public void setPartId(String partId) {
        this.partId = partId;
    }

    /**
     * 获取零件类型id
     *
     * @return part_type_id - 零件类型id
     */
    public String getPartTypeId() {
        return partTypeId;
    }

    /**
     * 设置零件类型id
     *
     * @param partTypeId 零件类型id
     */
    public void setPartTypeId(String partTypeId) {
        this.partTypeId = partTypeId;
    }

    /**
     * 获取零件编号
     *
     * @return part_no - 零件编号
     */
    public String getPartNo() {
        return partNo;
    }

    /**
     * 设置零件编号
     *
     * @param partNo 零件编号
     */
    public void setPartNo(String partNo) {
        this.partNo = partNo;
    }

    /**
     * 获取零件名称
     *
     * @return part_name - 零件名称
     */
    public String getPartName() {
        return partName;
    }

    /**
     * 设置零件名称
     *
     * @param partName 零件名称
     */
    public void setPartName(String partName) {
        this.partName = partName;
    }

    /**
     * 获取单价
     *
     * @return price - 单价
     */
    public BigDecimal getPrice() {
        return price;
    }

    /**
     * 设置单价
     *
     * @param price 单价
     */
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    /**
     * 获取厂商id
     *
     * @return manufacture_id - 厂商id
     */
    public String getManufactureId() {
        return manufactureId;
    }

    /**
     * 设置厂商id
     *
     * @param manufactureId 厂商id
     */
    public void setManufactureId(String manufactureId) {
        this.manufactureId = manufactureId;
    }

    /**
     * @return is_deleted
     */
    public Byte getIsDeleted() {
        return isDeleted;
    }

    /**
     * @param isDeleted
     */
    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }
}
